On the relation between Church - style typing and Curry - style typing : Extended Abstract ∗
نویسنده
چکیده
There are two versions of type assignment in λ-calculus: Church-style, in which the type of each variable is fixed, and Curry-style (also called “domain free”), in which it is not. As an example, in Church-style typing, λx : A . x is the identity function on type A, and it has type A → A but not B → B for a type B different from A. In Curry-style typing, λx.x is a general identity function with type C → C for every type C. In this paper, I will show how to interpret in a Curry-style system every Pure Type System (PTS) in the Church-style. (This generalizes some unpublished work with Garrel Pottinger.) ∗This work was supported in part by a grant from the Natural Sciences and Engineering Research Council of Canada. Some of the work in this talk was joint work with Garrel Pottinger. I will then show how to interpret in a system of the Church-style (a modified PTS) every PTSlike system in the Curry style.
منابع مشابه
Bridging Curry and Church's typing style
There are two versions of type assignment in the λ-calculus: Church-style, in which the type of each variable is fixed, and Currystyle (also called “domain free”), in which it is not. As an example, in Church-style typing, λx:A.x is the identity function on type A, and it has type A → A but not B → B for a type B different from A. In Currystyle typing, λx.x is a general identity function with t...
متن کاملUniqueness Typing for Functional Languages with Graph Rewriting Semantics
We present two type systems for term graph rewriting: conventional typing and (polymorphic) uniqueness typing. The latter is introduced as a natural extension of simple algebraic and higher-order uniqueness typing. The systems are given in natural deduction style using an inductive syntax of graph denotations with familiar constructs such as let and case. The conventional system resembles tradi...
متن کاملUniqueness Typing in Natural Deduction Style
We present two type systems for graph rewriting: conventional typing and (polymorphic) uniqueness typing. The latter is introduced as a natural extension of simple algebraic and higher-order uniqueness typing. The systems are given in natural deduction style using an inductive syntax of graph denotations with familiar constructs such as let and case. The conventional system resembles traditiona...
متن کاملCurry-Style Types for Nominal Terms
We define a rank 1 polymorphic type system for nominal terms, where typing environments type atoms, variables and function symbols. The interaction between type assumptions for atoms and substitution for variables is subtle: substitution does not avoid capture and so can move an atom into multiple different typing contexts. We give typing rules such that principal types exist and are decidable ...
متن کاملA binary modal logic for the intersection types of lambda-calculus
Intersection types discipline allows to define a wide variety of models for the type free lambda-calculus, but the Curry-Howard isomorphism breaks down for this kind of type systems. In this paper we show that the correspondence between types and suitable logical formulas can still be recovered appealing to the fact that there is a strict connection between the semantics for lambda-calculus ind...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004